package cn.exrick.xboot.base.vo

import cn.exrick.xboot.core.common.constant.CommonConstant
import com.fasterxml.jackson.annotation.JsonFormat
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.springframework.format.annotation.DateTimeFormat
import java.util.*
import javax.persistence.Column

@ApiModel("我的发布")
data class SecurityAdvisorPublishVo(


        @ApiModelProperty("id")
        var id: String? = null,

        @ApiModelProperty("姓名")
        var nickname: String? = null,

        @ApiModelProperty("年龄")
        var age: Int? = 0,

        @ApiModelProperty(value = "用户头像")
        var avatar: String? = CommonConstant.USER_DEFAULT_AVATAR,

        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
        @DateTimeFormat(pattern = "yyyy-MM-dd") @ApiModelProperty(value = "生日")
        var birth: Date? = null,

        @ApiModelProperty("手机号")
        var mobile:String? = null,

        @ApiModelProperty("安全顾问专业信息")
        var businessType: MutableList<String>? = null,

        @ApiModelProperty("可服务企业类型(逗号拼接)")
        var serviceEnterpriseTypeList: MutableList<String>? = null,

        @Column(length = 2000)
        @ApiModelProperty("个人优势")
        var personalStrength: String? = null,

        @ApiModelProperty("服务过的公司")
        var securityAdvisorServiceEnterpriseVoList: MutableList<SecurityAdvisorServiceEnterpriseVo>? = null
)